package com.bjpowernode.rbac.mapper;

import com.bjpowernode.rbac.entity.CustomerTransfer;
import com.bjpowernode.rbac.query.HistoryQuery;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CustomerTransferMapper {
    int deleteByPrimaryKey(Long id);

    int insert(CustomerTransfer record);

    int insertSelective(CustomerTransfer record);

    CustomerTransfer selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(CustomerTransfer record);

    int updateByPrimaryKey(CustomerTransfer record);

    List<CustomerTransfer> selectTheOldOrNewSeller();

    List<CustomerTransfer> selectByCondition(HistoryQuery historyQuery);
}